package com.shycloud.mido.member.api.vo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

/**
 * @author nianhua.jiang
 * @description
 * @date 2020/6/16
 */
public class MyTeacherVO {

	/** 教师ID */
	@Getter
	@Setter
	private String teacherId;

	@Getter
	@Setter
	/** 头像 */
	private String header;
	@Getter
	@Setter
	/** 姓名 */
	private String name;
	@Getter
	@Setter
	private String memberShowName;
	@Getter
	@Setter
	/** 性别 */
	private String sex;
	@Getter
	@Setter
	/** 教龄 */
	private Integer teachYear = 1;
	@Getter
	@Setter
	/** 好评率 */
	private Integer goodPoint = 5;
	@Getter
	@Setter
	/** 毕业院校 */
	private String school;
	@Getter
	@Setter
	/** 认证情况 */
	private String approval = "-1";

	@Getter
	/** 教学成果展示 */
	private String achievementPic;

	@Getter
	@Setter
	/** 教学成果展示数组 */
	private String[] achievementPicArr;

	public void setAchievementPic(String achievementPic) {
		if (!StringUtils.isEmpty(achievementPic)) {
			String[] arr = achievementPic.split(",");
			this.achievementPicArr = arr;
		}
		this.achievementPic = achievementPic;
	}

	/** 电话 */
	@Getter
	@Setter
	private String phone;
	/** 用户名 */
	@Getter
	@Setter
	private String username;
	/** 账号 */
	@Getter
	@Setter
	private String account;

	@Getter
	@Setter
	private String imId;
}
